<%-- 
    Document   : usuarioForm
    Created on : 13/08/2011, 14:42:52
    Author     : Graciano
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../../WEB-INF/imports.jspf" %>

<div align="center">
<p>Usuário</p>
<mtw:form method="post" action="${formAction}">
    <mtw:input type="hidden" name="id" id="id"/>

    <table>
        <tr>
            <td>Login</td>
            <td><mtw:input type="text" name="login" id="login" size="50"/></td>
        </tr>
        <tr>
            <td>Nome</td>
            <td><mtw:input type="text" name="nome" id="nome" size="50"/></td>
        </tr>
        <tr>
            <td>Senha</td>
            <td><mtw:input type="password" name="senha" id="senha" size="50"/></td>
        </tr>
        <tr>
            <td>Email</td>
            <td><mtw:input type="text" name="email" id="email" size="50"/></td>
        </tr>

        <tr>
            <td>Tipo</td>
            <td><mtw:select name="tipo" list="usuarioTipoOptions" emptyField="true" emptyFieldValue="Selecione..." defEmptyFieldValue="0" /></td>
        </tr>

<!--        <tr>
            <td>Foto</td>
            <td><input type="file" id="foto" name="foto" size="50"/> </td>
        </tr>-->

        <tr>
            <td><mtw:submit value="Confirmar"/></td>
            <td><input type="button" value="Cancelar" onclick="location. href='UsuarioRead.mtw'"/></td>
        </tr>

    </table>

</mtw:form>
</div>
